package com.dailyblue.java.project.bookstore.service;

import com.dailyblue.java.project.bookstore.util.JsonResult;

import javax.servlet.http.HttpServletRequest;

public interface ShoppingCartService {

    JsonResult add(String bookId, HttpServletRequest request);

    JsonResult find(HttpServletRequest request);

    JsonResult changeNumber(String bookId, HttpServletRequest request, int number);

    JsonResult remove(HttpServletRequest request, String... bookId);
}
